﻿namespace 二
{
    internal class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello, World!");
        }
        public class Student
        {
            private string name;
            public Student(string name)
            {
                this.name = name;
            }
            public string GetName()
            {
                return name;
            }
        }
        public class Class<T>
        {
            private List<Student> students;
            public Class(int size, Student[] stus)
            {
                students = new List<Student>();
                for (int i = 0; i < size; i++)
                {
                    students.Add(stus[i]);
                }
            }
            public Student getstud(int i)
            {
                return students[i];
            }
        }
    }
}
